package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_4_8S extends SkymobiProtocolMessage {
	private int hintKey;// 闪动的图标按键
	private int flashTimes; // 闪动次数

	public Mmochat_4_8S() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_S_4_8);
	}

	@Override
	protected void encodeBody(SkymobiBuffer out) {
		out.putInt(hintKey);
		out.putInt(flashTimes);
	}

	public void setHintKey(int hintKey) {
		this.hintKey = hintKey;
	}

	public void setFlashTimes(int flashTimes) {
		this.flashTimes = flashTimes;
	}

}
